<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ice="http://www.icesoft.com/icefaces/component">
<head>
<link rel="stylesheet" type="text/css" href="../woodstock/woodstock.css" />
</head>
<body>
<f:view>
	<ice:form>
		<ice:panelPopup modal="true" visible="#{changePwdMBean.windowVisible}" 
			autoCentre="true">
			<f:facet name="header">
				<ice:panelGrid columns="2" width="100%"
					columnClasses="floatLeft,floatRight" styleClass="#{configMBean.style}">
					<ice:outputText value="Alterar Senha" />
					<ice:commandButton value="x"
						actionListener="#{changePwdMBean.fecharWindow}" /> 
				</ice:panelGrid>
			</f:facet>
			<f:facet name="body">
				<ice:panelGrid columns="2" columnClasses="floatRight,floatLeft">
					<ice:outputText value="Senha antiga:" />
					<ice:inputSecret value="#{changePwdMBean.senhaAntiga}" />
					<ice:outputText value="Nova Senha:" />
					<ice:inputSecret value="#{changePwdMBean.novaSenha}" />
					<ice:outputText value="Confirma Nova Senha:" />
					<ice:inputSecret value="#{changePwdMBean.confirmaNovaSenha}" />
					<br />
					<ice:panelGroup style="text-align:right;">
						<ice:commandButton value="Salvar"
							actionListener="#{changePwdMBean.salvar}" />
						<ice:commandButton value="Cancelar"
							actionListener="#{changePwdMBean.fecharWindow}" />
					</ice:panelGroup>
				</ice:panelGrid>
			</f:facet>
		</ice:panelPopup>
	</ice:form>
</f:view>
</body>
</html>